import { history } from "umi";
import { useEffect } from "react";

const IndexPage = () => {
    useEffect(() => {
        history.replace("/dashboard");
    }, []);
    return <></>;
};

export default IndexPage;
